package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.AnalysisWebsiteParamDTO;
import com.hunttown.mes.rpc.domain.query.AnalysisWebsiteParamDTOQuery;

/**
 * created by wangjunfu on 2018-11-26 15:07:23
 */
public interface AnalysisWebsiteParamRpcService {

    AnalysisWebsiteParamDTO insert(AnalysisWebsiteParamDTO analysisWebsiteParamDTO);

    Boolean updateInfoById(AnalysisWebsiteParamDTO analysisWebsiteParamDTO);

    Boolean updateInfoByQuery(AnalysisWebsiteParamDTOQuery analysisWebsiteParamDTOQuery);

    AnalysisWebsiteParamDTO selectById(Integer id);

    AnalysisWebsiteParamDTO selectByDomain(String domain);

    AnalysisWebsiteParamDTO selectObjByQuery(AnalysisWebsiteParamDTOQuery analysisWebsiteParamDTOQuery);

    Page<AnalysisWebsiteParamDTO> getListForPage(AnalysisWebsiteParamDTOQuery analysisWebsiteParamDTOQuery);

    Boolean deleteById(Integer id);
}